package com.lm.lombok.example;

import com.lm.lombok.entry.User4;
import com.lm.lombok.entry.User5;
import lombok.extern.slf4j.Slf4j;

public class LombokExample {
    public static void main(String[] args) {
        User4  user4 = User4.builder().name("John").age(2).address("new york").build();
        System.out.println(user4);

        User5 user = new User5().setName("John").setAge(30);
        System.out.println(user.getName());
    }
}
